package com.mes.pojo.defece;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author 侯伟豪
 * @Company 起点编程
 * @Description
 * @Time 2024/10/24 19:12
 */
public class Shipment {
    private Long shipmentId;
    private String shipmentName;
    private String shipmentClientName;
    private String shipmentLotNumber;
    private Long shipmentItemId;
    private String shipmentItemName;
    private String shipmentItemSpecification;
    private String shipmentItemUnit;
    private Integer shipmentNumber;
    private Integer shipmentOutCount;
    private Integer materialOutcome;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date shipmentDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date materialDate;
    private String materialPerson;
    private Integer shipmentStatus;
    private Integer materialNumber;

    public Integer getMaterialNumber() {
        return materialNumber;
    }

    public void setMaterialNumber(Integer materialNumber) {
        this.materialNumber = materialNumber;
    }

    public Long getShipmentId() {
        return shipmentId;
    }

    public void setShipmentId(Long shipmentId) {
        this.shipmentId = shipmentId;
    }

    public String getShipmentName() {
        return shipmentName;
    }

    public void setShipmentName(String shipmentName) {
        this.shipmentName = shipmentName;
    }

    public String getShipmentClientName() {
        return shipmentClientName;
    }

    public void setShipmentClientName(String shipmentClientName) {
        this.shipmentClientName = shipmentClientName;
    }

    public String getShipmentLotNumber() {
        return shipmentLotNumber;
    }

    public void setShipmentLotNumber(String shipmentLotNumber) {
        this.shipmentLotNumber = shipmentLotNumber;
    }

    public Long getShipmentItemId() {
        return shipmentItemId;
    }

    public void setShipmentItemId(Long shipmentItemId) {
        this.shipmentItemId = shipmentItemId;
    }

    public String getShipmentItemName() {
        return shipmentItemName;
    }

    public void setShipmentItemName(String shipmentItemName) {
        this.shipmentItemName = shipmentItemName;
    }

    public String getShipmentItemSpecification() {
        return shipmentItemSpecification;
    }

    public void setShipmentItemSpecification(String shipmentItemSpecification) {
        this.shipmentItemSpecification = shipmentItemSpecification;
    }

    public String getShipmentItemUnit() {
        return shipmentItemUnit;
    }

    public void setShipmentItemUnit(String shipmentItemUnit) {
        this.shipmentItemUnit = shipmentItemUnit;
    }

    public Integer getShipmentNumber() {
        return shipmentNumber;
    }

    public void setShipmentNumber(Integer shipmentNumber) {
        this.shipmentNumber = shipmentNumber;
    }

    public Integer getShipmentOutCount() {
        return shipmentOutCount;
    }

    public void setShipmentOutCount(Integer shipmentOutCount) {
        this.shipmentOutCount = shipmentOutCount;
    }

    public Integer getMaterialOutcome() {
        return materialOutcome;
    }

    public void setMaterialOutcome(Integer materialOutcome) {
        this.materialOutcome = materialOutcome;
    }

    public Date getShipmentDate() {
        return shipmentDate;
    }

    public void setShipmentDate(Date shipmentDate) {
        this.shipmentDate = shipmentDate;
    }

    public Date getMaterialDate() {
        return materialDate;
    }

    public void setMaterialDate(Date materialDate) {
        this.materialDate = materialDate;
    }

    public String getMaterialPerson() {
        return materialPerson;
    }

    public void setMaterialPerson(String materialPerson) {
        this.materialPerson = materialPerson;
    }

    public Integer getShipmentStatus() {
        return shipmentStatus;
    }

    public void setShipmentStatus(Integer shipmentStatus) {
        this.shipmentStatus = shipmentStatus;
    }

    public Shipment() {
    }

    public Shipment(Integer materialNumber) {
        this.materialNumber = materialNumber;
    }

    public Shipment(Long shipmentId, String shipmentName, String shipmentClientName, String shipmentLotNumber, Long shipmentItemId, String shipmentItemName, String shipmentItemSpecification, String shipmentItemUnit, Integer shipmentNumber, Integer shipmentOutCount, Integer materialOutcome, Date shipmentDate, Date materialDate, String materialPerson, Integer shipmentStatus) {
        this.shipmentId = shipmentId;
        this.shipmentName = shipmentName;
        this.shipmentClientName = shipmentClientName;
        this.shipmentLotNumber = shipmentLotNumber;
        this.shipmentItemId = shipmentItemId;
        this.shipmentItemName = shipmentItemName;
        this.shipmentItemSpecification = shipmentItemSpecification;
        this.shipmentItemUnit = shipmentItemUnit;
        this.shipmentNumber = shipmentNumber;
        this.shipmentOutCount = shipmentOutCount;
        this.materialOutcome = materialOutcome;
        this.shipmentDate = shipmentDate;
        this.materialDate = materialDate;
        this.materialPerson = materialPerson;
        this.shipmentStatus = shipmentStatus;
    }

    @Override
    public String toString() {
        return "Shipment{" +
                "shipmentId=" + shipmentId +
                ", shipmentName='" + shipmentName + '\'' +
                ", shipmentClientName='" + shipmentClientName + '\'' +
                ", shipmentLotNumber='" + shipmentLotNumber + '\'' +
                ", shipmentItemId=" + shipmentItemId +
                ", shipmentItemName='" + shipmentItemName + '\'' +
                ", shipmentItemSpecification='" + shipmentItemSpecification + '\'' +
                ", shipmentItemUnit='" + shipmentItemUnit + '\'' +
                ", shipmentNumber=" + shipmentNumber +
                ", shipmentOutCount=" + shipmentOutCount +
                ", materialOutcome=" + materialOutcome +
                ", shipmentDate=" + shipmentDate +
                ", materialDate=" + materialDate +
                ", materialPerson='" + materialPerson + '\'' +
                ", shipmentStatus=" + shipmentStatus +
                ", materialNumber=" + materialNumber +
                '}';
    }
}